package com.hzcx.app.simplechat.ui.moment.contract;

import android.app.Activity;
import android.content.Context;

import com.hzcx.app.simplechat.base.IPresenter;
import com.hzcx.app.simplechat.base.IView;
import com.hzcx.app.simplechat.bean.UpLoadImgBean;
import com.hzcx.app.simplechat.ui.moment.bean.MomentBean;
import com.hzcx.app.simplechat.ui.user.bean.UserInfoBean;

import java.util.List;

public interface UserMomentContract {

    interface View extends IView {
        void momentResult(List<MomentBean> data);
        void onFail();
        void fabulousSuccess(int pos);
        void upLoadImgSuccess(UpLoadImgBean data);
        void collectSuccess();
        void userInfoResult(UserInfoBean data);
    }

    interface Presenter extends IPresenter<View> {
        void getMomentList(Context context,int userid, int page);
        void momentFabulous(Context context, int id, int pos);
        void upLoadImg(Activity activity, String url);
        void addChatCollect(Context context, String collectdetail, String collectimage, int member_id);
        void getUserInfoByQrCode(Context context, String url);
    }

}
